package midi;

public class Constantes {

	public static final int SEMIBREVE = 4000;

	public static final int MINIMA = 2000;

	public static final int SEMINIMA = 1000;

	public static final int COLCHEIA = 500;

	public static final int SEMICOLCHEIA = 250;

	public static final int FUSA = 125;

	public static int getTempo(int opcao)
	{
		switch (opcao)
		{
			default:
				return 0;
			case 1:
				return SEMIBREVE;
			case 2:
				return MINIMA;
	
			case 3:
				return SEMINIMA;
	
			case 4:
				return COLCHEIA;
	
			case 5:
				return SEMICOLCHEIA;
	
			case 6:
				return FUSA;
		}
	}
}
